package com.easyj.admin.db.model;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;


public class RouteVo implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@JsonIgnore
	private Long id;
	@JsonIgnore
	private Long pid;
	@JsonIgnore
	private int type;
	
	private String name;

    private String path;

    private Boolean hidden;

    private String redirect;

    private String component;


    private RouteMetaVo meta;

    
    private List<RouteVo> children;
    

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Boolean getHidden() {
		return hidden;
	}

	public void setHidden(Boolean hidden) {
		this.hidden = hidden;
	}

	public String getRedirect() {
		return redirect;
	}

	public void setRedirect(String redirect) {
		this.redirect = redirect;
	}

	public String getComponent() {
		return component;
	}

	public void setComponent(String component) {
		this.component = component;
	}



	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public RouteMetaVo getMeta() {
		return meta;
	}

	public void setMeta(RouteMetaVo meta) {
		this.meta = meta;
	}

	public List<RouteVo> getChildren() {
		return children;
	}

	public void setChildren(List<RouteVo> children) {
		this.children = children;
	}

    
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}
}
